<?php
/* @var $this \yii\web\View */

use yii\jui\DatePicker;
use yii\helpers\Html;
use app\assets\AppAsset;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>
<?= DatePicker::widget([
    'name' => 'date',
    'attribute' => 'from_date',
    'language' => 'cn',
    'clientOptions' => [
        'dateFormat' => 'yy-mm-dd',
    ],
]) ?>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>



